package com.freesky.web.manager.remote.fallback;

import com.freesky.common.dao.entity.Member;
import com.freesky.common.pojo.DataTablesResult;
import com.freesky.common.pojo.Result;
import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.common.vo.VOMember;
import com.freesky.web.manager.remote.MemberRemote;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class MemberRemoteFallback implements MemberRemote {

    @Override
    public DataTablesResult getMemberList(int draw, int start, int length, String searchKey, String minDate, String maxDate, String search, int orderCol, String orderDir) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public DataTablesResult getDelMemberList(int draw, int start, int length, String searchKey, String minDate, String maxDate, String search, int orderCol, String orderDir) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public DataTablesResult getMemberCount() {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public DataTablesResult getRemoveMemberCount() {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public void createMember(VOMember voMember) {
        log.error("后台获取memeber服务维护中");
    }

    @Override
    public JSONResponse stopMember(Long id) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public JSONResponse startMember(Long[] ids) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public JSONResponse removeMember(Long[] ids) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public JSONResponse deleteMember(Long[] ids) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public JSONResponse changeMemberPassword(Long id, VOMember voMember) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public JSONResponse updateMember(Long id, VOMember voMember) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Result<Member> getMemberById(Long id) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Boolean validateUsername(String username) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Boolean validatePhone(String phone) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Boolean validateEmail(String email) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Boolean validateEditUsername(Long id, String username) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Boolean validateEditPhone(Long id, String phone) {
        log.error("后台获取memeber服务维护中");
        return null;
    }

    @Override
    public Boolean validateEditEmail(Long id, String email) {
        log.error("后台获取memeber服务维护中");
        return null;
    }
}
